var base_js = {
    base_url: (window.document.location.href).substring(0,(window.document.location.href).indexOf(window.document.location.pathname)),
    UUID:function () {
        return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
            var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);
            return v.toString(16);
        });
    }
}
